/**
 * routes是一个数组，数组中的每一个对象是一个路由对象，路由中常用的属性
 * path:路径:以/作为开头的
 * component:组件
 */
import DiscoveryMusic from '@/views/DiscoveryMusic.vue'
import MyMusic from '@/views/MyMusic.vue'
import FriendMusic from '@/views/FriendMusic.vue'
const routes=[
    {
        path:'/discovery',
        component:DiscoveryMusic
    },
    {
        path:'/my',
        component:MyMusic
    },
    {
        path:'/friend',
        component:FriendMusic
    }
]
export default routes